@import "/iconfont/iconfont.wxss";
.header{
  height: 13vw;
  width: 100vw;
  font-family: 'AlimamaDaoLiTi';
  background-color: rgba(255, 255, 196, 0.7);
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  left: 0;
  z-index: 999;
  color: black;
  font-weight: bolder;
  backdrop-filter: blur(3px);
  transition: transform 0.2s ease-in;
  .shopCart{
    display: flex;
    justify-content: center;
    align-items: center;
    .cart{
      font-size: 10vw;
    }
    .cartCount{
      width: 6vw;
      height: 6vw;
      background-color: pink;
      display: block;
      border-radius: 6vw;
      text-align: center;
      line-height: 6vw;
      font-size: 5vw;
      font-weight: lighter;
    }
  }
}
.dismiss{
  transform: translateY(13vw);
}
.header.top{
  top: 20vw;
}
.header.bottom{
  bottom: 0;
}
.main-navigator{
  font-family: 'AlimamaDaoLiTi';
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(5vw);
  z-index: 1000;
  color: black;
  transition: top 0.2s ease-in;
  .container{
    margin-top: 20vw;
    display: flex;
    flex-wrap: wrap;
    .optionBox{
      width: 50%;
      text-indent: 5vw;
      margin-top: 5vw;
      .title{
        font-size: 6vw;
        margin: 5vw 0;
      }
      .option{
        margin: 5vw;
      }
    }
  }

}
.searchBar{
  font-family: 'AlimamaDaoLiTi';
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(5vw);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  transition: top 0.2s ease-in;
  .searchBox{
    transform: translateY(-30vw);
    width: 70vw;
    .bar{
      width: 100%;
      height: 13vw;
      display: flex;
      .input{
        width: 60%;
        min-height: 100%;
        background-color: white;
        border: solid 1px black;
        padding-left: 5vw;
        border-radius: 5vw;
      }
      .right{
        width: 40%;
        height: 100%;
        display: flex;
        justify-content: center;
        .btn{
          width: 80%;
          height: 100%;
          text-align: center;
          line-height: 13vw;
          justify-content: center;
          background-color: black;
          color: white;
          border-radius: 5vw;
          font-size: 6vw;
        }
      }
    }
    .hotwords{
      padding-left: 5vw;
      display: flex;
      flex-wrap: wrap;
      .item{
        margin: 5vw 0 0 0;
        width: 20vw;
      }
      .special{
        font-size: larger;
        color: red;
      }
    }
  }
}
.btnClose.top{
  top: 25vw;
}
.btnClose.bottom{
  bottom:5vw;
}
.btnClose{
  position: absolute;
  z-index: 1001;
  right: 5vw;
  width: 10vw;
  height: 10vw;
  border-radius: 3vw;
  background-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 10vw -2vw rgb(151, 151, 151);
  text-align: center;
  line-height: 10vw;
}
.isClosed{
  top: -100vh;
}
.isOpened{
  top: 0;
  .btnClose{
    animation: myrotate 0.4s linear;
  }
}
@keyframes myrotate {
  0%,50%{
    transform: rotate(90deg);
  }
  100%{
    transform: rotate(180deg);
  }
}
@import "./headertheme.scss";